package com.mis.service.data;

import java.io.InputStream;
import java.util.List;


import com.jeecg.pageModel.DataGrid;
import com.jeecg.service.BaseServiceI;
import com.mis.entity.data.EmployeeEntity;
import com.mis.page.data.EmployeePage;

/**   
 * @Title: Service
 * @Description: 单表模型Test
 * @author zhangdaihao
 * @date 2011-12-31 14:18:16
 * @version V1.0   
 *
 */
public interface EmployeeServiceI extends BaseServiceI {

	/**
	 * 获得数据表格
	 * 
	 * @param bug
	 * @return
	 */
	public DataGrid datagrid(EmployeePage employeePage);

	/**
	 * 添加
	 * 
	 * @param employeePage
	 */
	public void add(EmployeePage employeePage);

	/**
	 * 修改
	 * 
	 * @param employeePage
	 */
	public void update(EmployeePage employeePage) throws Exception;

	/**
	 * 删除
	 * 
	 * @param ids
	 */
	public void delete(String ids);

	/**
	 * 获得
	 * 
	 * @param Employee
	 * @return
	 */
	public EmployeeEntity get(EmployeePage employeePage);
	
	
	/**
	 * 获得
	 * 
	 * @param obid
	 * @return
	 */
	public EmployeeEntity get(String obid);
	
	/**
	 * 获取所有数据
	 */
	public List<EmployeeEntity> listAll(EmployeePage employeePage);
	
	
	/**
	 * 导出excel
	 * @return
	 * @throws Exception
	 */
	public InputStream exportXls( EmployeePage employeePage)  throws  Exception;

}
